#ifndef _SHELL_PUBLICGANGINFO_BEAN_H_
#define _SHELL_PUBLICGANGINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class PublicGangInfo : public Bean
{
	public:
	PublicGangInfo();
	~PublicGangInfo();
	void reset();
	PublicGangInfo* clone();
	//服务器id
	int32 serverId;
	//帮派Id
	int64 gangId;
	//帮派名字
	string gangName;
	//帮主名字
	string gangMasterName;
	//帮派积分
	int32 jifen;
	//帮派等级
	int32 gangLv;
	//帮派玩家最大等级
	int32 memberMaxLv;
	//帮派分区
	int8 domain;
	//帮派玩家信息
	string players;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
